﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLNHDAO
{
    public class BanAnDAO:Repository<BanAn>,IBanAn
    {
        public BanAn GetElementByID(int id)
        {
            return Db.BanAns.Where(e => e.MaBanAn == id).SingleOrDefault();
        }
    }
}
